package com.jmu.employee;

import java.util.Comparator;

public class DateHiredComparator implements Comparator<Staff> {
    @Override
    public int compare(Staff o1, Staff o2) {
        return (int)(o1.getDateHired().getTime() - o2.getDateHired().getTime());
    }
}
